package com.hundun.hddeal.service;


import com.github.pagehelper.PageInfo;
import com.hundun.hddeal.entity.OrderDetail;
import com.hundun.hddeal.entity.Pay;
import com.hundun.hddeal.response.Result;

import javax.xml.crypto.Data;
import java.util.Date;


public interface PayService {

    OrderDetail save(OrderDetail record);

    Result<PageInfo<Pay>> selectByName(Integer page, Integer size, String userNames,
                                       Date startTime, Date endTime,Byte orderType);

 }
